package cn.zswltech.gruul.common.dal.dao;

import cn.zswltech.gruul.common.dal.query.DictionaryQuery;
import cn.zswltech.gruul.common.dal.tkmybatis.IMapper;
import cn.zswltech.gruul.common.entity.DictionaryDO;
import cn.zswltech.gruul.common.dal.vo.DictionarySave;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @create: 2022-07-20
 **/
@Mapper
public interface DictionaryDOMapper extends IMapper<DictionaryDO> {
    List<DictionaryDO> queryByCodes(@Param("codes") List<String> codes);

    int queryPageCount(DictionaryQuery query);

    List<DictionarySave> queryPage(DictionaryQuery query);

    List<DictionaryDO> queryList(DictionaryQuery query);



}
